package com.flash.InventoryManagement.entity;

/**
 * @author jr
 * @version 1.0
 * @date 2022/8/22
 */
public class CashStock {
    private String cashStockId; // 现金库存ID

    private String fundId; // 基金Id

    private String cashId; // 现金账户Id

    private String accountName;//现金账户名称

    private String dateCashStock; // 统计日期

    private int initialState; // 初期状态

    private Double money; // 现金余额

    public String remark; //备注

    public String getCashStockId() {
        return cashStockId;
    }

    public void setCashStockId(String cashStockId) {
        this.cashStockId = cashStockId;
    }

    public String getFundId() {
        return fundId;
    }

    public void setFundId(String fundId) {
        this.fundId = fundId;
    }

    public String getCashId() {
        return cashId;
    }

    public void setCashId(String cashId) {
        this.cashId = cashId;
    }

    public String getDateCashStock() {
        return dateCashStock;
    }

    public void setDateCashStock(String dateCashStock) {
        this.dateCashStock = dateCashStock;
    }

    public int getInitialState() {
        return initialState;
    }

    public void setInitialState(int initialState) {
        this.initialState = initialState;
    }

    public Double getMoney() {
        return money;
    }

    public void setMoney(Double money) {
        this.money = money;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getAccountName() {
        return accountName;
    }

    public void setAccountName(String accountName) {
        this.accountName = accountName;
    }

    public CashStock(){}

    public CashStock(String cashStockId, String fundId, String cashId, String accountName, String dateCashStock, int initialState, Double money, String remark) {
        this.cashStockId = cashStockId;
        this.fundId = fundId;
        this.cashId = cashId;
        this.accountName = accountName;
        this.dateCashStock = dateCashStock;
        this.initialState = initialState;
        this.money = money;
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "CashStock{" +
                "cashStockId='" + cashStockId + '\'' +
                ", fundId='" + fundId + '\'' +
                ", cashId='" + cashId + '\'' +
                ", accountName='" + accountName + '\'' +
                ", dateCashStock='" + dateCashStock + '\'' +
                ", initialState=" + initialState +
                ", money=" + money +
                ", remark='" + remark + '\'' +
                '}';
    }
}
